#ifndef __CLOCKER_H__
#define __CLOCKER_H__
#ifdef __cplusplus
extern "C" {
#endif

#include <time.h>

struct clocker_object
{
    int num;
    struct timespec start;
    struct timespec end;
	double duration;
};

int clocker_start(struct clocker_object *clk);
int clocker_end(struct clocker_object *clk);

#ifdef __cplusplus
}
#endif
#endif//__CLOCKER_H__